[INFO] cloning repository https://github.com/StelarCF/genetic_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StelarCF/genetic_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fgenetic_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fgenetic_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ce0fbb3519cc2f7744dea052092da06b09d720a
[INFO] checking StelarCF/genetic_test against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fgenetic_test" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/StelarCF/genetic_test on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/StelarCF/genetic_test
[INFO] finished tweaking git repo https://github.com/StelarCF/genetic_test
[INFO] tweaked toml for git repo https://github.com/StelarCF/genetic_test written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/StelarCF/genetic_test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5079951d4f2d4ed434683b11fab62dac094186eec8833b3be4e9e2ac1005f16
[INFO] running `Command { std: "docker" "start" "-a" "e5079951d4f2d4ed434683b11fab62dac094186eec8833b3be4e9e2ac1005f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5079951d4f2d4ed434683b11fab62dac094186eec8833b3be4e9e2ac1005f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5079951d4f2d4ed434683b11fab62dac094186eec8833b3be4e9e2ac1005f16", kill_on_drop: false }`
[INFO] [stdout] e5079951d4f2d4ed434683b11fab62dac094186eec8833b3be4e9e2ac1005f16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98575c55cb97dd75727d71f77a9f45a0fa5722cc5d3520e72faa36c23ad314b9
[INFO] running `Command { std: "docker" "start" "-a" "98575c55cb97dd75727d71f77a9f45a0fa5722cc5d3520e72faa36c23ad314b9", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.13
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]     Checking genetic_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:384:36
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let fitness = test_fitness(creature);
[INFO] [stdout]     |                       ------------ ^^^^^^^^ expected `&mut Creature`, found `Creature`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:372:4
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn test_fitness(creature: &mut Creature) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^ -----------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let fitness = test_fitness(&mut creature);
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:386:41
[INFO] [stdout]     |
[INFO] [stdout] 386 |             let fitness2 = test_fitness(creature);
[INFO] [stdout]     |                            ------------ ^^^^^^^^ expected `&mut Creature`, found `Creature`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:372:4
[INFO] [stdout]     |
[INFO] [stdout] 372 | fn test_fitness(creature: &mut Creature) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^ -----------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 386 |             let fitness2 = test_fitness(&mut creature);
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |         for mut muscle in &mut self.muscles {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]    --> src/main.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 217 | struct Creature {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 222 |     id: i64
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Creature` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `next_id` should have an upper case name
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | static mut next_id : i64 = 0;
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper case: `NEXT_ID`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `genetic_test` (bin "genetic_test" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "98575c55cb97dd75727d71f77a9f45a0fa5722cc5d3520e72faa36c23ad314b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98575c55cb97dd75727d71f77a9f45a0fa5722cc5d3520e72faa36c23ad314b9", kill_on_drop: false }`
[INFO] [stdout] 98575c55cb97dd75727d71f77a9f45a0fa5722cc5d3520e72faa36c23ad314b9
